package de.breitbeil.jbooking.richclient.form.binding.comboboxrenderer;

import de.breitbeil.jbooking.domain.TBookingType;

public class BookingTypeRenderer extends AbstractComboboxRenderer {

    @Override
    public String getString(Object item) {
        if(item == null) {
            return " ";
        }
        
        return getMessage(((TBookingType) item).getText() + ".label");
    }
}
